package com.zbkj.dal.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum BizImgTypeEnums {
    EDITOR(0, "crmebimage/sxwxapp/static/images/editor", "编辑器"),
    PRODUCT_IMAGE(1, "crmebimage/sxwxapp/static/images/product", "商品图片"),
    PIN_TUAN_IMAGE(2, "crmebimage/sxwxapp/static/images/pin-tuan", "拼团图片"),
    BARGAIN_IMAGE(3, "crmebimage/sxwxapp/static/images/bargain", "砍价图片"),
    SEC_KILL_IMAGE(4, "crmebimage/sxwxapp/static/images/sec-kill", "秒杀图片"),
    ARTICLE_IMAGE(5, "crmebimage/sxwxapp/static/images/article", "文章图片"),
    COMBINE_DATA_IMAGE(6, "crmebimage/sxwxapp/static/images/combine-date", "组合数据图"),
    FRONT_USER_IMAGE(7, "crmebimage/sxwxapp/static/images/front/user", "前台用户"),
    WECHAT_IMAGE(8, "crmebimage/sxwxapp/static/images/wechat", "微信系列"),
    QRCODE_IMAGE(9, "crmebimage/sxwxapp/static/images/qrcode", "二维码/太阳码"),
    WITHDRAW_CERTIFICATE(10, "crmebimage/sxwxapp/static/images/withdraw-certificate", "提现凭证"),
    ;

    private final Integer code;

    private final String basePath;

    private final String desc;

    public String path(String name) {
        return basePath + "/" + name;
    }
}
